Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


Close

The Close method prepares this frame to be removed from memory, but does not affect persistent storage.

void Close ();
DISCUSSION
Your part calls its embedded frame's Close method when a document is being closed after its final save. This method in turn calls the DisplayFrameClosed method associated with this frame's part to notify the part that it is being closed.

During execution of this method, this frame releases its references to the associated part and its containing frame, and this frame should not be used again.

Depending on whether you want to affect persistent storage, your part calls either this method or its frame's Remove method.

SEE ALSO
The ODFrame::Remove method (page 330).
The ODPart::DisplayFrameClosed method (page 495).
"Responding to Reconnected and Closed Display Frames" on page 106 in OpenDoc Programmer's Guide.
"Reconnecting and Releasing Embedded Frames" on page 122 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help